# 04-异常的传递.py
def fn01():
    print('这是fn01开始')
    num = 1/0 # 报错
    print('这是fn01结束')
def fn02():
    print('这是fn02开始')
    fn01()
    print('fn02结束')

def main():
    try:
        fn02()
    except Exception as e:
        print(e)
    print(6666)
main()
